/**
* Created by wl
* 项目管理>持有中-api
*/
export const api = {
    // 持有中项目管理
    INVESTED_LIST: {
        url: '/hold/item',
        method: 'get'
    }, // 查看持有中项目列表
    ADD_INVESTED: {
        url: '/hold/item',
        method: 'post'
    }, // 新建持有中项目
    DEL_INVESTED: {
        url: '/hold/item/{itemId}',
        method: 'delete'
    }, // 删除持有中项目
    // 头部操作
    CHECK_HEADER: {
        url: '/hold/item/{itemId}/top',
        method: 'get'
    }, // 查看头部信息
    EDIT_HEADER: {
        url: '/hold/item/{itemId}/top',
        method: 'post'
    }, // 编辑头部信息
    // 项目详情
    CHECK_INVESTED: {
        url: '/hold/item/{itemId}/info',
        method: 'get'
    }, // 查看项目详情
    EDIT_INVESTED: {
        url: '/hold/item/{itemId}/info',
        method: 'post'
    }, // 编辑项目详情
    CHECK_PREDETAIL: {
        url: '/itemQuasiEntity/details/{itemId}',
        method: 'get'
    }, // 查看拟投资项目详情
    // 项目管理人员
    CHECK_MANAGER: {
        url: '/hold/item/{itemId}/manager',
        method: 'get'
    }, // 查看项目管理人员
    EDIT_MANAGER: {
        url: '/hold/item/{itemId}/manager',
        method: 'post'
    }, // 编辑项目管理人员
    // 关键协议
    CHECK_PROTOCOL: {
        url: '/hold/item/{itemId}/protocol',
        method: 'get'
    }, // 查看关键协议
    EDIT_PROTOCOL: {
        url: '/hold/item/{itemId}/protocol',
        method: 'post'
    }, // 编辑关键协议/ 编辑关键协议
    // 公司高管
    CHECK_HIGHMANAGER: {
        url: '/hold/item/{itemId}/highmanager',
        method: 'get'
    }, // 查看公司高管
    EDIT_HIGHMANAGER: {
        url: '/hold/item/{itemId}/highmanager',
        method: 'post'
    }, // 编辑公司高管
    // 股东信息
    CHECK_SHAREHOLDER: {
        url: '/hold/item/{itemId}/shareholder',
        method: 'get'
    }, // 查看股东信息
    DEL_SHAREHOLDER: {
        url: '/hold/item/{itemId}/shareholder/{fileId}',
        method: 'delete'
    }, // 删除股东信息
    EDIT_SHAREHOLDER: {
        url: '/hold/item/{itemId}/shareholder/{id}',
        method: 'put'
    }, // 编辑股东信息
    ANALYSIS_SHAREHOLDER: {
        url: '/hold/item/{itemId}/shareholder/file/{fileId}?groupDate={groupDate}',
        method: 'post'
    }, // 解析股东信息上传文件
    // 投资减持
    CHECK_HISTORY: {
        url: '/hold/item/{itemId}/invest/history',
        method: 'get',
    }, // 查看历史变动数据
    CREATE_HISTORY: {
        url: '/hold/item/{itemId}/invest/history',
        method: 'post'
    }, // 新建历史变动数据
    DEL_HISTORY: {
        url: '/hold/item/{itemId}/invest/history/{historyId}',
        method: 'delete'
    }, // 删除历史变动数据
    CHECK_CURRENT: {
        url: '/hold/item/{itemId}/invest/current',
        method: 'get'
    }, // 查看当前持股情况
    CHECK_INIT: {
        url: '/hold/item/{itemId}/invest/init',
        method: 'get'
    }, // 查看初始投资数据
    CHECK_IRR: {
        url: '/hold/item/irr',
        method: 'get'
    }, // 查看irr
    GET_LIST: {
        url: '/fundEstEntity/list',
        method: 'get'
    }, // 获取已设立基金列表
    // 财务数据
    CHECK_EXPECT: {
        url: '/hold/item/{itemId}/finance/expect',
        method: 'get'
    }, // 查看财务预期
    EDIT_EXPECT: {
        url: '/hold/item/{itemId}/finance/expect',
        method: 'post'
    }, // 新建/编辑/删除财务预期
    CHECK_REMIND: {
        url: '/hold/item/{itemId}/finance/remind',
        method: 'get'
    }, // 财务预警查看本项目已创建预警列表
    EDIT_REMIND: {
        url: '/hold/item/{itemId}/finance/remind',
        method: 'post'
    }, // 财务预警新建/编辑预警
    REMIND_LIST: {
        url: '/hold/item/{itemId}/finance/remind/{financeType}',
        method: 'get'
    }, //财务预警可以预警的key列表
    DEL_REMIND: {
        url: '/hold/item/{itemId}/finance/remind/{remindId}',
        method: 'delete'
    }, //财务预警删除预警
    CHANGE_REMIND: {
        url: '/hold/item/{itemId}/finance/remind/{remindId}?remindStatus={remindStatus}',
        method: 'put'
    }, //启用/停用预警
    ALARM_LIST: {
        url: '/hold/item/{itemId}/finance/remind/result',
        method: 'get'
    }, //预警列表 tab
    SAVE_ALARM: {
        url: '/hold/item/{itemId}/finance/remind',
        method: 'put'
    }, //处理项目预警
    // 服务动态
    CHECK_SERVICE: {
        url: '/hold/item/{itemId}/service',
        method: 'get'
    }, // 查看服务动态
    EDIT_SERVICE: {
        url: '/hold/item/{itemId}/service',
        method: 'post'
    }, // 新建编辑服务动态
    DEL_SERVICE: {
        url: '/hold/item/{itemId}/service/{serviceId}',
        method: 'delete'
    }, // 删除服务动态
    // 上传文件
    UPLOAD_FILE: {
        url: '/file',
        method: 'post'
    },
    // 获取文件名称
    GET_FILE_CHILD_LIST: {
        url: '/fileFloder',
        method: 'get'
    },
    // 更新、添加文件夹
    ADD_FOLDER: {
        url: '/fileFloder',
        method: 'post'
    },
    // 删除文件夹
    DELETE_FOLDER: {
        url: '/fileFloder',
        method: 'delete'
    },
    // 获取文件列表
    GET_FILE_LIST: {
        url: '/file',
        method: 'get'
    },
    // 删除文件
    DELETE_FILE: {
        url: '/hold/item/{itemId}/shareholder/{fileId}',
        method: 'delete'
    },
    // 删除文件
    DELETE_FILES: {
        url: '/file',
        method: 'delete'
    },
    // 下载文件
    DOWNLOAD_FILE: {
        url: '/file/',
        method: 'get'
    },
    // 导出列表
    EXPORT_FILE: {
        url: '/file/exportExcel',
        method: 'get'
    },
    // 预览文件校验
    PREVIEW_FILE_CHECK: {
        url: '/file/validatePreview',
        method: 'get'
    },
    // 预览文件
    PREVIEW_FILE: {
        url: '/file/preview',
        method: 'get'

    },
}
